# Form implementation generated from reading ui file 'src/eric7/Sessions/CrashedSessionsSelectionDialog.ui'
#
# Created by: PyQt6 UI code generator 6.9.1
#
# WARNING: Any manual changes made to this file will be lost when pyuic6 is
# run again.  Do not edit this file unless you know what you are doing.


from PyQt6 import QtCore, QtGui, QtWidgets


class Ui_CrashedSessionsSelectionDialog(object):
    def setupUi(self, CrashedSessionsSelectionDialog):
        CrashedSessionsSelectionDialog.setObjectName("CrashedSessionsSelectionDialog")
        CrashedSessionsSelectionDialog.resize(400, 500)
        CrashedSessionsSelectionDialog.setSizeGripEnabled(True)
        self.verticalLayout = QtWidgets.QVBoxLayout(CrashedSessionsSelectionDialog)
        self.verticalLayout.setObjectName("verticalLayout")
        self.messageLabel = QtWidgets.QLabel(parent=CrashedSessionsSelectionDialog)
        self.messageLabel.setWordWrap(True)
        self.messageLabel.setObjectName("messageLabel")
        self.verticalLayout.addWidget(self.messageLabel)
        self.crashedSessionsList = QtWidgets.QListWidget(parent=CrashedSessionsSelectionDialog)
        self.crashedSessionsList.setAlternatingRowColors(True)
        self.crashedSessionsList.setWordWrap(True)
        self.crashedSessionsList.setObjectName("crashedSessionsList")
        self.verticalLayout.addWidget(self.crashedSessionsList)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.removeButton = QtWidgets.QPushButton(parent=CrashedSessionsSelectionDialog)
        self.removeButton.setObjectName("removeButton")
        self.horizontalLayout.addWidget(self.removeButton)
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.buttonBox = QtWidgets.QDialogButtonBox(parent=CrashedSessionsSelectionDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.horizontalLayout.addWidget(self.buttonBox)
        self.verticalLayout.addLayout(self.horizontalLayout)

        self.retranslateUi(CrashedSessionsSelectionDialog)
        self.buttonBox.accepted.connect(CrashedSessionsSelectionDialog.accept) # type: ignore
        self.buttonBox.rejected.connect(CrashedSessionsSelectionDialog.reject) # type: ignore
        QtCore.QMetaObject.connectSlotsByName(CrashedSessionsSelectionDialog)

    def retranslateUi(self, CrashedSessionsSelectionDialog):
        _translate = QtCore.QCoreApplication.translate
        self.removeButton.setToolTip(_translate("CrashedSessionsSelectionDialog", "Press to remove the selected crash sessions."))
        self.removeButton.setText(_translate("CrashedSessionsSelectionDialog", "Remove"))
